import * as actionTypes from '@/store/action/actionTypes'
const shopcartReducer=(state={
    shopcartList:[]
},action)=>{
    console.log('---------shopcartReducer----------------');
    switch(action.type){
        case actionTypes.GETSHOPCARTLIST:
            return {...state,shopcartList:action.payload}
        default:
            return state
    }
}
export default shopcartReducer